package com.ynet.middleground.riskmanage.bean;

import com.ynet.core.common.BaseReqObjPager;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @ClassName ColdChainStockInfoReq
 * @Description 在库信息查询请求类
 * @Author zhangyongbin
 * @Date 2020/8/17 10:33
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "在库信息查询请求类", description = "在库信息查询请求类")
public class ColdChainStockInfoReq extends BaseReqObjPager {
    private static final long serialVersionUID = -3216241332762373747L;

    @ApiModelProperty(value = "货主账号（支持多个用英文,分开）", notes = "货主账号（支持多个用英文,分开）")
    private String userNo;

    @ApiModelProperty(value = "货主名称（支持多个用英文,分开）\n账号和名称二送一，都上送根据名称查询", notes = "货主名称（支持多个用英文,分开）\n账号和名称二送一，都上送根据名称查询")
    private String userName;

    @ApiModelProperty(value = "货种（支持多个用英文,分开）", notes = "货种（支持多个用英文,分开）")
    private String types;

    @ApiModelProperty(value = "主键（押品在库明细主键）", notes = "主键（押品在库明细主键）")
    private String id;

    @ApiModelProperty(value = "排序字段：tdh(提单号),xh(集装箱号),instorageDate(入库日期),location(区位)；若此字段上传，则“排序方式”也必传",
            notes = "排序字段：tdh(提单号),xh(集装箱号),instorageDate(入库日期),location(区位)；若此字段上传，则“排序方式”也必传")
    private String sortField;

    @ApiModelProperty(value = "排序方式：asc(升序)，desc(降序);若此字段上传，则“排序字段”也必传", notes = "排序方式：asc(升序)，desc(降序)")
    private String sortOrder;

}
